package com.dwj.auto.comment.model.req;

import com.dwj.auto.comment.common.annotation.Condition;
import com.dwj.auto.comment.common.annotation.Order;
import com.dwj.auto.comment.common.enums.ConditionType;
import com.dwj.auto.comment.common.enums.OrderType;
import com.dwj.auto.comment.config.mybatis.plus.QueryCriteria;
import com.dwj.auto.comment.dao.entity.StuScore;
import com.dwj.auto.comment.model.vo.StuScoreVo;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName StuScorePagination
 * @Description 学生分页
 * @Author dwjian
 * @Date 2020/1/13 0:17
 */
@Data
public class StuScoreCriteria extends QueryCriteria<StuScore, StuScoreVo> {

    /**
     * 学生ID
     */
    @Condition
    private String stuId;
    /**
     * 学生姓名
     */
    @Condition
    private String stuCode;

    /**
     * 学生姓名
     */
    @Condition(type = ConditionType.LIKE)
    private String stuName;

    /**
     * 班级名称
     */
    @Condition(type = ConditionType.LIKE)
    private String className;

    /**
     * 测验ID
     */
    @Condition
    private String examId;

    /**
     * 测验名称
     */
    @Condition(type = ConditionType.LIKE)
    private String examName;

    /**
     * 创建时间
     */
    @Order(order = OrderType.DESC)
    private Date createDate;
}
